package com.frank.jpaSpecification.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

/**
 * @author 小石潭记
 * @date 2020/12/12 14:26
 * @Description: ${todo}
 */
@Data
public class PageParamRequest {
    private Integer pageSize = 10;
    private Integer pageNumber = 1;
    private String searchName;
    private String searchBranch;
    private String searchId;
    private List<Double> priceList;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;

}
